{% extends "framework.html" %}

{% block main %}
        {% for greeting in greetings %}
         <div class="comment">
         <div class="comment-title">
          {% if greeting.author %}
            <b>{{ greeting.author.nickname }}</b> @ {{greeting.date}} wrote:
          {% else %}
           An anonymous person wrote:
          {% endif %}
         </div>
          <blockquote>{{ greeting.content }}</blockquote>
         </div>
        {% endfor %}
        
        <form action="sign" method="post">
          请留言:
          <div><textarea name="content" style="width:580px;overflow-x:visible;overflow-y:visible;" ></textarea></div>
          <div><input type="submit" value="提交留言"></div>
        </form>
{% endblock %}
